package com.letoken.platform.repo.admin.res.user;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.letoken.platform.pub.enums.LetokenTokenTypeEnum;
import com.letoken.platform.pub.enums.TokenTransactionStatusEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;


/**
 * @author letokenlabs
 * @date 2022/11/23$
 */
@Data
@ApiModel(value = "新提现记录请求返回", description = "新提现记录请求返回")
public class NewWithdrawListRes {

    @ApiModelProperty(name = "id", value = "提现记录id", required = true, example = "1")
    private Long id;

    @ApiModelProperty(name = "seqNo", value = "订单流水号", required = true, example = "1")
    private String seqNo;

    @ApiModelProperty(name = "otherSeqNo", value = "订单流水号", required = true, example = "1")
    private String otherSeqNo;

    @ApiModelProperty(name = "userId", value = "用户", required = true, example = "1")
    private Integer userId;

    @ApiModelProperty(name = "coinId", value = "币种id", required = true, example = "1")
    private Integer coinId;

    @ApiModelProperty(name = "toAddr", value = "提现地址", required = true, example = "1")
    private String toAddr;

    @ApiModelProperty(name = "amount", value = "提现数量", required = true, example = "1")
    private BigDecimal amount;

    @ApiModelProperty(name = "status", value = "审批状态(0待审批 1通过 2拒绝)", required = true, example = "1")
    private Byte status;

    @ApiModelProperty(name = "remark", value = "用户申请提现备注", required = true, example = "1")
    private String remark;

    @ApiModelProperty(name = "createTime", value = "创建日期", required = true, example = "1")
    private Date createTime;

    @ApiModelProperty(name = "updateTime", value = "修改日期", required = true, example = "1")
    private Date updateTime;

    @ApiModelProperty(name = "fromAddr", value = "出账地址", required = true, example = "1")
    String fromAddr;
    @ApiModelProperty(name = "from", value = "出账", required = true, example = "1")
    String from;
    @ApiModelProperty(name = "txId", value = "交易hash", required = true, example = "1")
    String txId;


}
